<!DOCTYPE html>
<html lang="en-US">
    <head>
        <title>Role::Tiny - Roles: a nouvelle cuisine portion size slice of Moose - metacpan.org</title>
        <link rel="preload" as="fetch" href="https://metacpan.org/account/login_status" crossorigin="anonymous" />
        <link href="https://metacpan.org/_assets/b8ccceeed47a0652049703d99326a9cea4933443.css" rel="stylesheet" type="text/css">
        <script src="https://metacpan.org/_assets/6bfedafe2d7caa915b7d84f61b45936818e3242e.js" type="text/javascript" defer></script>
        <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of Role-Tiny - MetaCPAN" href="https://metacpan.org/dist/Role-Tiny/releases.rss" />
        <link rel="canonical" href="./Role::Tiny.html" />
        <meta name="description" content="Roles: a nouvelle cuisine portion size slice of Moose" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
        <link rel="shortcut icon" href="https://metacpan.org/static/icons/favicon.ico">
        <link rel="apple-touch-icon" sizes="152x152" href="https://metacpan.org/static/icons/apple-touch-icon.png">
        <link rel="search" href="https://metacpan.org/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN">
        <script>
          (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

          (function(skey, ga_id){
            ga('create', ga_id, {
              siteSpeedSampleRate : 100,
              storage             : 'none',
              clientId            : localStorage.getItem(skey)
            });
            ga(function(tracker) {
              localStorage.setItem(skey, tracker.get('clientId'));
            });
            ga('send', 'pageview');
          })('ga:clientId', 'UA-27829474-1');
        </script>
<meta name="twitter:card"        content="summary" />
<meta name="twitter:url"         content="https://metacpan.org/pod/Role::Tiny" />
<meta name="twitter:title"       content="Role::Tiny" />
<meta name="twitter:description" content="Roles: a nouvelle cuisine portion size slice of Moose" />
<meta name="twitter:site"        content="metacpan" />
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="header-logo-large hidden-xs">
              <a href="https://metacpan.org/" tabindex="0">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#logo" />
                </svg>
              </a>
            </div>
            <div class="header-logo-icon visible-xs">
              <a href="https://metacpan.org/">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#dots" />
                </svg>
              </a>
            </div>
            <ul class="nav navbar-nav menu-items hidden-xs hidden-sm">
              <li><a href="https://metacpan.org/about">About</a></li>
              <li><a href="https://metacpan.org/about/sponsors">Sponsor</a></li>
              <li><a href="https://grep.metacpan.org/">grep::cpan</a></li>
              <li><a href="https://metacpan.org/recent">Recent</a></li>
              <li><a href="https://metacpan.org/about/faq">FAQ</a></li>
              <li><a href="https://metacpan.org/tools">Tools</a></li>
              <li><a href="https://fastapi.metacpan.org/">API</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <button type="button" class="searchbar-btn visible-xs visible-sm">
                    <i class="fa fa-search button-fa-icon"></i>
                </button>
                <form action="https://metacpan.org/search" class="searchbar-form visible-md visible-lg search-form form-horizontal">
                   <input type="hidden" name="size" id="metacpan_search-size" value="20">
                  <div class="form-group">
                      <div class="search-group">
                        <i class="fa fa-search"></i>
                        <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value="">
                      </div>
                  </div>
                </form>
                    <li class="icon-slidepanel visible-xs visible-sm">
                      <button data-toggle="slidepanel" data-target=".slidepanel">
                        <span class="button-fa-icon">
                          <i class="fa fa-bars slidepanel-open"></i>
                          <i class="fa fa-times slidepanel-close"></i>
                        </span>
                      </button>
                    </li>
                <form action="https://metacpan.org/account/logout" method="POST" id="metacpan-logout"></form>
                <li class="dropdown logged_in" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li><a href="https://metacpan.org/account/identities">Identities</a></li>
                        <li><a href="https://metacpan.org/account/profile">Profile</a></li>
                        <li><a href="https://metacpan.org/account/favorite/list">Favorites</a></li>
                        <li>
                            <a href="./Role::Tiny.html#" type="button" onclick="$('#metacpan-logout').submit(); return false">
                              Logout
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_out" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="https://metacpan.org/login/github">
                                <i class="fab fa-github fa-fw"></i>
                                GitHub
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/twitter">
                                <i class="fab fa-twitter fa-fw"></i>
                                Twitter
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/google">
                                <i class="fab fa-google fa-fw"></i>
                                Google
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_placeholder">
                    <button>
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                    </button>
                </li>
            </ul>
        </nav>
        <div class="page-content ">
          <!--
          <div class="top-notify-banner">
            <i class="fas fa-info-circle"></i>
          </div>
          -->
          <nav class="sidebar">
            <div class="slidepanel">
              <ul class="nav-list ">
    <li class="nav-header no-margin-top">
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of Role-Tiny was released.">
      <span class="relatize">24 Jan 2021 02:49:55 UTC</span>
    </li>
  <li>
    Distribution: <a href="https://metacpan.org/dist/Role-Tiny">Role-Tiny</a>
  </li>
  <li>
    Module version: 2.002004
  </li>
  <li>
    <a data-keyboard-shortcut="g s" href="https://metacpan.org/dist/Role-Tiny/source/lib/Role/Tiny.pm">Source</a>
    (<a href="https://metacpan.org/dist/Role-Tiny/source/lib/Role/Tiny.pm?raw=1">raw</a>)
  </li>
  <li>
    <a data-keyboard-shortcut="g b" href="https://metacpan.org/dist/Role-Tiny/source/lib/Role">Browse</a>
    (<a href="https://metacpan.org/dist/Role-Tiny/source/lib/Role?raw=1">raw</a>)
  </li>
    <li>
      <a data-keyboard-shortcut="g c" href="https://metacpan.org/dist/Role-Tiny/changes">Changes</a>
    </li>
    <li>
      <a class="nopopup" href="https://metacpan.org/dist/Role-Tiny/contribute">How to Contribute</a>
    </li>
    <li>
        <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/moose/Role-Tiny">Repository</a>
    </li>
    <li>
      <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="https://rt.cpan.org/Public/Dist/Display.html?Name=Role-Tiny">Issues</a>
      (2)
    </li>
    <li>
      <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=Role-Tiny+2.002004" title="Matrix">Testers</a>
        <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/R/Role-Tiny.html?oncpan=1&amp;distmat=1&amp;version=2.002004&amp;grade=2" style="color: #090">5829</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/R/Role-Tiny.html?oncpan=1&amp;distmat=1&amp;version=2.002004&amp;grade=3" style="color: #900">0</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/R/Role-Tiny.html?oncpan=1&amp;distmat=1&amp;version=2.002004&amp;grade=4">0</a>)</span>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/HAARG/Role-Tiny-2.002004">Kwalitee</a>
    </li>
    <li>
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on Role-Tiny who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)">
      Bus factor: 8
      </div>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpancover.com/latest/Role-Tiny-2.002004/index.html">90.68% Coverage </a>
    </li>
    <li>
      License: perl_5
    </li>
    <li>
      Perl: v5.6.0
    </li>
    <li class="chat-banner">
      <div><a rel="noopener nofollow" target="_blank" href="https://kiwiirc.com/nextclient/#irc://irc.perl.org/#moose?nick=mc-guest-?">Chat with us!</a></div>
    </li>
    <li class="nav-header">Activity</li>
    <li>
<div class="activity-graph">
    <img src="https://metacpan.org/dist/Role-Tiny/activity.svg?res=month" />
    <div class="comment">24 month</div>
</div>
    </li>
    <li class="nav-header">Tools</li>
    <li>
      <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Role-Tiny-2.002004.tar.gz">
      Download (<span itemprop="fileSize">35.1KB</span>)</a>
    </li>
    <li>
      <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FHAARG%2FRole-Tiny-2.002004%2Flib%2FRole%2FTiny.pm">
        MetaCPAN Explorer
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Role-Tiny/permissions">
        Permissions
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Role-Tiny/releases.rss">
        Subscribe to distribution
      </a>
    </li>
    <li>
      <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog">
        Install Instructions
      </button>
    </li>
    <li>
      <form action="https://metacpan.org/search">
        <input type="hidden" name="q" value="dist:Role-Tiny">
        <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
      </form>
    </li>
    <li>
      <form action="https://grep.metacpan.org/search">
        <input type="hidden" name="qd" value="Role-Tiny">
        <input type="hidden" name="source" value="metacpan">
        <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
     </form>
    </li>
    <li class="version-jump">
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Role/Tiny.pm&#39;" class="form-control tool-bar-form">
  <option disabled selected>Jump to version</option>
<option
  disabled
  value="HAARG/Role-Tiny-2.002004"
>2.002004
  (HAARG on 2021-01-24)</option>
<option
  
  value="HAARG/Role-Tiny-2.002003"
>2.002003
  (HAARG on 2021-01-11)</option>
<option
  
  value="HAARG/Role-Tiny-2.002_002"
>2.002_002 DEV
  (HAARG on 2021-01-03)</option>
<option
  
  value="HAARG/Role-Tiny-2.002_001"
>2.002_001 DEV
  (HAARG on 2020-12-27)</option>
<option
  
  value="HAARG/Role-Tiny-2.002_000"
>2.002_000 DEV
  (HAARG on 2020-12-23)</option>
<option
  
  value="HAARG/Role-Tiny-2.001004"
>2.001004
  (HAARG on 2019-10-25)</option>
<option
  
  value="HAARG/Role-Tiny-2.001003"
>2.001003
  (HAARG on 2019-10-09)</option>
<option
  
  value="HAARG/Role-Tiny-2.001_002"
>2.001_002 DEV
  (HAARG on 2019-10-06)</option>
<option
  
  value="HAARG/Role-Tiny-2.001001"
>2.001001
  (HAARG on 2019-10-01)</option>
<option
  
  value="HAARG/Role-Tiny-2.001_000"
>2.001_000 DEV
  (HAARG on 2019-09-19)</option>
<option
  
  value="HAARG/Role-Tiny-2.000_009"
>2.000_009 DEV
  (HAARG on 2019-09-06)</option>
<option
  
  value="HAARG/Role-Tiny-2.000008"
>2.000008
  (HAARG on 2019-08-05)</option>
<option
  
  value="ETHER/Role-Tiny-2.000007"
>2.000007
  (ETHER on 2019-07-31)</option>
<option
  
  value="HAARG/Role-Tiny-2.000006"
>2.000006
  (HAARG on 2017-11-08)</option>
<option
  
  value="HAARG/Role-Tiny-2.000005"
>2.000005
  (HAARG on 2016-11-01)</option>
<option
  
  value="HAARG/Role-Tiny-2.000004"
>2.000004
  (HAARG on 2016-10-31)</option>
<option
  
  value="HAARG/Role-Tiny-2.000003"
>2.000003
  (HAARG on 2016-04-21)</option>
<option
  
  value="HAARG/Role-Tiny-2.000002"
>2.000002
  (HAARG on 2016-04-19)</option>
<option
  
  value="HAARG/Role-Tiny-2.000001"
>2.000001
  (HAARG on 2015-04-24)</option>
<option
  
  value="HAARG/Role-Tiny-2.000000"
>2.000000
  (HAARG on 2015-02-26)</option>
<option
  
  value="HAARG/Role-Tiny-1.999_001"
>1.999_001 DEV
  (HAARG on 2015-02-01)</option>
<option
  
  value="HAARG/Role-Tiny-1.003004"
>1.003004
  (HAARG on 2014-10-22)</option>
<option
  
  value="HAARG/Role-Tiny-1.003003"
>1.003003
  (HAARG on 2014-03-15)</option>
<option
  
  value="HAARG/Role-Tiny-1.003002"
>1.003002
  (HAARG on 2013-09-05)</option>
<option
  
  value="HAARG/Role-Tiny-1.003001"
>1.003001
  (HAARG on 2013-07-15)</option>
<option
  
  value="HAARG/Role-Tiny-1.003000"
>1.003000
  (HAARG on 2013-07-15)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.002005"
>1.002005
  (MSTROUT on 2013-02-01)</option>
<option
  
  value="ILMARI/Role-Tiny-1.002004"
>1.002004
  (ILMARI on 2012-11-02)</option>
<option
  
  value="ILMARI/Role-Tiny-1.002003"
>1.002003
  (ILMARI on 2012-10-29)</option>
<option
  
  value="ETHER/Role-Tiny-1.002002"
>1.002002
  (ETHER on 2012-10-28)</option>
<option
  
  value="ILMARI/Role-Tiny-1.002001"
>1.002001
  (ILMARI on 2012-10-26)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.002000"
>1.002000
  (MSTROUT on 2012-10-19)</option>
<option
  
  value="ILMARI/Role-Tiny-1.001005"
>1.001005
  (ILMARI on 2012-07-18)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001004"
>1.001004
  (MSTROUT on 2012-07-12)</option>
<optgroup label="BackPAN">'
<option
  
  value="MSTROUT/Role-Tiny-1.001003"
>1.001003
  (MSTROUT on 2012-06-19)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001002"
>1.001002
  (MSTROUT on 2012-05-05)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001001"
>1.001001
  (MSTROUT on 2012-04-27)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001000"
>1.001000
  (MSTROUT on 2012-04-27)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000_901"
>1.000_901 DEV
  (MSTROUT on 2012-04-12)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000_900"
>1.000_900 DEV
  (MSTROUT on 2012-04-11)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000001"
>1.000001
  (MSTROUT on 2012-04-03)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000000"
>1.000000
  (MSTROUT on 2012-03-29)</option>
</optgroup>
</select>
    </li>
    <li class="version-diff">
<select onchange="document.location.href='/release/HAARG/Role-Tiny-2.002004/diff/' + encodeURIComponent(this.value) + '/lib/Role/Tiny.pm'
" class="form-control tool-bar-form">
  <option disabled selected>Diff with version</option>
<option
  disabled
  value="HAARG/Role-Tiny-2.002004"
>2.002004
  (HAARG on 2021-01-24)</option>
<option
  
  value="HAARG/Role-Tiny-2.002003"
>2.002003
  (HAARG on 2021-01-11)</option>
<option
  
  value="HAARG/Role-Tiny-2.002_002"
>2.002_002 DEV
  (HAARG on 2021-01-03)</option>
<option
  
  value="HAARG/Role-Tiny-2.002_001"
>2.002_001 DEV
  (HAARG on 2020-12-27)</option>
<option
  
  value="HAARG/Role-Tiny-2.002_000"
>2.002_000 DEV
  (HAARG on 2020-12-23)</option>
<option
  
  value="HAARG/Role-Tiny-2.001004"
>2.001004
  (HAARG on 2019-10-25)</option>
<option
  
  value="HAARG/Role-Tiny-2.001003"
>2.001003
  (HAARG on 2019-10-09)</option>
<option
  
  value="HAARG/Role-Tiny-2.001_002"
>2.001_002 DEV
  (HAARG on 2019-10-06)</option>
<option
  
  value="HAARG/Role-Tiny-2.001001"
>2.001001
  (HAARG on 2019-10-01)</option>
<option
  
  value="HAARG/Role-Tiny-2.001_000"
>2.001_000 DEV
  (HAARG on 2019-09-19)</option>
<option
  
  value="HAARG/Role-Tiny-2.000_009"
>2.000_009 DEV
  (HAARG on 2019-09-06)</option>
<option
  
  value="HAARG/Role-Tiny-2.000008"
>2.000008
  (HAARG on 2019-08-05)</option>
<option
  
  value="ETHER/Role-Tiny-2.000007"
>2.000007
  (ETHER on 2019-07-31)</option>
<option
  
  value="HAARG/Role-Tiny-2.000006"
>2.000006
  (HAARG on 2017-11-08)</option>
<option
  
  value="HAARG/Role-Tiny-2.000005"
>2.000005
  (HAARG on 2016-11-01)</option>
<option
  
  value="HAARG/Role-Tiny-2.000004"
>2.000004
  (HAARG on 2016-10-31)</option>
<option
  
  value="HAARG/Role-Tiny-2.000003"
>2.000003
  (HAARG on 2016-04-21)</option>
<option
  
  value="HAARG/Role-Tiny-2.000002"
>2.000002
  (HAARG on 2016-04-19)</option>
<option
  
  value="HAARG/Role-Tiny-2.000001"
>2.000001
  (HAARG on 2015-04-24)</option>
<option
  
  value="HAARG/Role-Tiny-2.000000"
>2.000000
  (HAARG on 2015-02-26)</option>
<option
  
  value="HAARG/Role-Tiny-1.999_001"
>1.999_001 DEV
  (HAARG on 2015-02-01)</option>
<option
  
  value="HAARG/Role-Tiny-1.003004"
>1.003004
  (HAARG on 2014-10-22)</option>
<option
  
  value="HAARG/Role-Tiny-1.003003"
>1.003003
  (HAARG on 2014-03-15)</option>
<option
  
  value="HAARG/Role-Tiny-1.003002"
>1.003002
  (HAARG on 2013-09-05)</option>
<option
  
  value="HAARG/Role-Tiny-1.003001"
>1.003001
  (HAARG on 2013-07-15)</option>
<option
  
  value="HAARG/Role-Tiny-1.003000"
>1.003000
  (HAARG on 2013-07-15)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.002005"
>1.002005
  (MSTROUT on 2013-02-01)</option>
<option
  
  value="ILMARI/Role-Tiny-1.002004"
>1.002004
  (ILMARI on 2012-11-02)</option>
<option
  
  value="ILMARI/Role-Tiny-1.002003"
>1.002003
  (ILMARI on 2012-10-29)</option>
<option
  
  value="ETHER/Role-Tiny-1.002002"
>1.002002
  (ETHER on 2012-10-28)</option>
<option
  
  value="ILMARI/Role-Tiny-1.002001"
>1.002001
  (ILMARI on 2012-10-26)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.002000"
>1.002000
  (MSTROUT on 2012-10-19)</option>
<option
  
  value="ILMARI/Role-Tiny-1.001005"
>1.001005
  (ILMARI on 2012-07-18)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001004"
>1.001004
  (MSTROUT on 2012-07-12)</option>
<optgroup label="BackPAN">'
<option
  
  value="MSTROUT/Role-Tiny-1.001003"
>1.001003
  (MSTROUT on 2012-06-19)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001002"
>1.001002
  (MSTROUT on 2012-05-05)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001001"
>1.001001
  (MSTROUT on 2012-04-27)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001000"
>1.001000
  (MSTROUT on 2012-04-27)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000_901"
>1.000_901 DEV
  (MSTROUT on 2012-04-12)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000_900"
>1.000_900 DEV
  (MSTROUT on 2012-04-11)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000001"
>1.000001
  (MSTROUT on 2012-04-03)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000000"
>1.000000
  (MSTROUT on 2012-03-29)</option>
</optgroup>
</select>
    </li>

    <li>
<ul class="dependencies">
  <li class="nav-header">Dependencies</li>
  <li><a href="https://metacpan.org/pod/Exporter" title="Exporter" class="ellipsis">Exporter</a></li>
  <li>
    <hr>
  </li>
  <li>
    <a href="https://metacpan.org/module/Role::Tiny/requires">Reverse dependencies</a>
  </li>
  <li>
    <a href="http://deps.cpantesters.org/?module=Role%3A%3ATiny">CPAN Testers List</a>
  </li>
  <li>
    <a href="https://cpandeps.grinnz.com/?dist=Role-Tiny">Dependency graph</a>
  </li>
</ul>
    </li>
    <li class="nav-header">Permalinks</li>
    <li>
      <a href="https://metacpan.org/release/HAARG/Role-Tiny-2.002004/view/lib/Role/Tiny.pm">This version</a>
    </li>
    <li>
      <a href="./Role::Tiny.html">Latest version</a>
    </li>
    <li>
<div class="plussers">
<div class="nav-header">++ed by:</div>
<div>
<a class="display-all" href="https://metacpan.org/author/BESSARABV"><img src="https://www.gravatar.com/avatar/f848f8b82e51b7a88ca22562639a814b?d=identicon&amp;s=20" title="BESSARABV" alt="BESSARABV"></a>
<a class="display-all" href="https://metacpan.org/author/DCPETROV"><img src="https://www.gravatar.com/avatar/10e265a667839a004d83dd3ed6b6cfc9?d=identicon&amp;s=20" title="DCPETROV" alt="DCPETROV"></a>
<a class="display-all" href="https://metacpan.org/author/VOEGELAS"><img src="https://www.gravatar.com/avatar/b748542b466dd73c8513245b1b609750?d=identicon&amp;s=20" title="VOEGELAS" alt="VOEGELAS"></a>
<a class="display-all" href="https://metacpan.org/author/YZHERNAND"><img src="https://www.gravatar.com/avatar/2003132941bd9caea332bc9c74e658ca?d=identicon&amp;s=20" title="YZHERNAND" alt="YZHERNAND"></a>
<a class="display-all" href="https://metacpan.org/author/MILA"><img src="https://www.gravatar.com/avatar/3a59124cfcc7ce26274174c962094a20?d=identicon&amp;s=20" title="MILA" alt="MILA"></a>
</div>
<!-- Display counts of plussers-->
<div>
    <a href="https://metacpan.org/dist/Role-Tiny/plussers">46 PAUSE users</a>
</div>
<div>
    23 non-PAUSE users
</div>
</div>
    </li>
    <li>
<div id="metacpan_contributors">
  <div>
    <button class="btn-link"
      onclick="$(this).hide(); $('#metacpan_contributors ul').slideDown(); return false;"
    >and 1 contributors</button>
  </div>
  <ul style="display: none">
    <li class="contributor"
      data-contrib-email="mst@shadowcat.co.uk"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      mst - Matt S. Trout (cpan:MSTROUT)
    </li>
  </ul>
</div>
    </li>
              </ul>
            </div>
          </nav>
          <div class="content-navigation">
<div class="breadcrumbs">
  <span>
    <a data-keyboard-shortcut="g a" rel="author" href="https://metacpan.org/author/HAARG" class="author-name">Graham Knop</a>
  </span>
  <span>&nbsp;/&nbsp;</span>
  <div class="release dist-release status-latest maturity-released">
    <span class="dropdown"><b class="caret"></b></span>
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Role/Tiny.pm&#39;" class="">
<option
  selected
  value="HAARG/Role-Tiny-2.002004"
>2.002004
  (HAARG on 2021-01-24)</option>
<option
  
  value="HAARG/Role-Tiny-2.002003"
>2.002003
  (HAARG on 2021-01-11)</option>
<option
  
  value="HAARG/Role-Tiny-2.002_002"
>2.002_002 DEV
  (HAARG on 2021-01-03)</option>
<option
  
  value="HAARG/Role-Tiny-2.002_001"
>2.002_001 DEV
  (HAARG on 2020-12-27)</option>
<option
  
  value="HAARG/Role-Tiny-2.002_000"
>2.002_000 DEV
  (HAARG on 2020-12-23)</option>
<option
  
  value="HAARG/Role-Tiny-2.001004"
>2.001004
  (HAARG on 2019-10-25)</option>
<option
  
  value="HAARG/Role-Tiny-2.001003"
>2.001003
  (HAARG on 2019-10-09)</option>
<option
  
  value="HAARG/Role-Tiny-2.001_002"
>2.001_002 DEV
  (HAARG on 2019-10-06)</option>
<option
  
  value="HAARG/Role-Tiny-2.001001"
>2.001001
  (HAARG on 2019-10-01)</option>
<option
  
  value="HAARG/Role-Tiny-2.001_000"
>2.001_000 DEV
  (HAARG on 2019-09-19)</option>
<option
  
  value="HAARG/Role-Tiny-2.000_009"
>2.000_009 DEV
  (HAARG on 2019-09-06)</option>
<option
  
  value="HAARG/Role-Tiny-2.000008"
>2.000008
  (HAARG on 2019-08-05)</option>
<option
  
  value="ETHER/Role-Tiny-2.000007"
>2.000007
  (ETHER on 2019-07-31)</option>
<option
  
  value="HAARG/Role-Tiny-2.000006"
>2.000006
  (HAARG on 2017-11-08)</option>
<option
  
  value="HAARG/Role-Tiny-2.000005"
>2.000005
  (HAARG on 2016-11-01)</option>
<option
  
  value="HAARG/Role-Tiny-2.000004"
>2.000004
  (HAARG on 2016-10-31)</option>
<option
  
  value="HAARG/Role-Tiny-2.000003"
>2.000003
  (HAARG on 2016-04-21)</option>
<option
  
  value="HAARG/Role-Tiny-2.000002"
>2.000002
  (HAARG on 2016-04-19)</option>
<option
  
  value="HAARG/Role-Tiny-2.000001"
>2.000001
  (HAARG on 2015-04-24)</option>
<option
  
  value="HAARG/Role-Tiny-2.000000"
>2.000000
  (HAARG on 2015-02-26)</option>
<option
  
  value="HAARG/Role-Tiny-1.999_001"
>1.999_001 DEV
  (HAARG on 2015-02-01)</option>
<option
  
  value="HAARG/Role-Tiny-1.003004"
>1.003004
  (HAARG on 2014-10-22)</option>
<option
  
  value="HAARG/Role-Tiny-1.003003"
>1.003003
  (HAARG on 2014-03-15)</option>
<option
  
  value="HAARG/Role-Tiny-1.003002"
>1.003002
  (HAARG on 2013-09-05)</option>
<option
  
  value="HAARG/Role-Tiny-1.003001"
>1.003001
  (HAARG on 2013-07-15)</option>
<option
  
  value="HAARG/Role-Tiny-1.003000"
>1.003000
  (HAARG on 2013-07-15)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.002005"
>1.002005
  (MSTROUT on 2013-02-01)</option>
<option
  
  value="ILMARI/Role-Tiny-1.002004"
>1.002004
  (ILMARI on 2012-11-02)</option>
<option
  
  value="ILMARI/Role-Tiny-1.002003"
>1.002003
  (ILMARI on 2012-10-29)</option>
<option
  
  value="ETHER/Role-Tiny-1.002002"
>1.002002
  (ETHER on 2012-10-28)</option>
<option
  
  value="ILMARI/Role-Tiny-1.002001"
>1.002001
  (ILMARI on 2012-10-26)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.002000"
>1.002000
  (MSTROUT on 2012-10-19)</option>
<option
  
  value="ILMARI/Role-Tiny-1.001005"
>1.001005
  (ILMARI on 2012-07-18)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001004"
>1.001004
  (MSTROUT on 2012-07-12)</option>
<optgroup label="BackPAN">'
<option
  
  value="MSTROUT/Role-Tiny-1.001003"
>1.001003
  (MSTROUT on 2012-06-19)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001002"
>1.001002
  (MSTROUT on 2012-05-05)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001001"
>1.001001
  (MSTROUT on 2012-04-27)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.001000"
>1.001000
  (MSTROUT on 2012-04-27)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000_901"
>1.000_901 DEV
  (MSTROUT on 2012-04-12)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000_900"
>1.000_900 DEV
  (MSTROUT on 2012-04-11)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000001"
>1.000001
  (MSTROUT on 2012-04-03)</option>
<option
  
  value="MSTROUT/Role-Tiny-1.000000"
>1.000000
  (MSTROUT on 2012-03-29)</option>
</optgroup>
</select>
    <a data-keyboard-shortcut="g d" class="release-name" href="https://metacpan.org/dist/Role-Tiny">Role-Tiny-2.002004</a>
  </div>
<span class="river-gauge-gauge">
  <svg width="24px"
       height="15px"
       version="1.1"
       xmlns="http://www.w3.org/2000/svg"
       xmlns:xlink="http://www.w3.org/1999/xlink">

    <g>
      <title>        River stage four &#10;
          • 285 direct dependents &#10;          • 4736 total dependents
      </title>

      <rect x="0"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="5"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="10"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="15"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="20"  y="0" width="4" height="15" fill="#e4e2e2" />
    </g>
  </svg>

</span>
<div id="Role-Tiny-fav" class="logged_in">
<form action="https://metacpan.org/account/favorite/add" style="display: inline" onsubmit="return favDistribution(this)">
    <input type="hidden" name="remove" value="0">
    <input type="hidden" name="release" value="Role-Tiny-2.002004">
    <input type="hidden" name="author" value="HAARG">
    <input type="hidden" name="distribution" value="Role-Tiny">
    <button type="submit" class="favorite highlight"><span>69</span> ++</button>
</form>
</div>
<div class="logged_out">
<a href="./Role::Tiny.html" onclick="alert('Please sign in to add favorites'); return false" class="favorite highlight">
<span>69</span> ++</a>
</div>
   / <span>Role::Tiny</span>
</div>
          </div>
          <main class="content">


<nav class="toc">
  <div class="toc-header"><strong>Contents</strong></div>
<ul>
  <li><a href="./Role::Tiny.html#NAME">NAME</a></li>
  <li><a href="./Role::Tiny.html#SYNOPSIS">SYNOPSIS</a></li>
  <li><a href="./Role::Tiny.html#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="./Role::Tiny.html#ROLE-COMPOSITION">ROLE COMPOSITION</a>
    <ul>
      <li><a href="./Role::Tiny.html#ROLE-METHODS">ROLE METHODS</a></li>
    </ul>
  </li>
  <li><a href="./Role::Tiny.html#IMPORTED-SUBROUTINES">IMPORTED SUBROUTINES</a>
    <ul>
      <li><a href="./Role::Tiny.html#requires">requires</a></li>
      <li><a href="./Role::Tiny.html#with">with</a></li>
      <li><a href="./Role::Tiny.html#before">before</a></li>
      <li><a href="./Role::Tiny.html#around">around</a></li>
      <li><a href="./Role::Tiny.html#after">after</a></li>
      <li><a href="./Role::Tiny.html#Strict-and-Warnings">Strict and Warnings</a></li>
    </ul>
  </li>
  <li><a href="./Role::Tiny.html#SUBROUTINES">SUBROUTINES</a>
    <ul>
      <li><a href="./Role::Tiny.html#does_role">does_role</a></li>
    </ul>
  </li>
  <li><a href="./Role::Tiny.html#METHODS">METHODS</a>
    <ul>
      <li><a href="./Role::Tiny.html#make_role">make_role</a></li>
      <li><a href="./Role::Tiny.html#apply_roles_to_package">apply_roles_to_package</a></li>
      <li><a href="./Role::Tiny.html#apply_roles_to_object">apply_roles_to_object</a></li>
      <li><a href="./Role::Tiny.html#create_class_with_roles">create_class_with_roles</a></li>
      <li><a href="./Role::Tiny.html#is_role">is_role</a></li>
    </ul>
  </li>
  <li><a href="./Role::Tiny.html#CAVEATS">CAVEATS</a></li>
  <li><a href="./Role::Tiny.html#SEE-ALSO">SEE ALSO</a></li>
  <li><a href="./Role::Tiny.html#AUTHOR">AUTHOR</a></li>
  <li><a href="./Role::Tiny.html#CONTRIBUTORS">CONTRIBUTORS</a></li>
  <li><a href="./Role::Tiny.html#COPYRIGHT">COPYRIGHT</a></li>
  <li><a href="./Role::Tiny.html#LICENSE">LICENSE</a></li>
</ul></nav>
<div class="pod anchors">
<h1 id="NAME">NAME</h1>

<p>Role::Tiny - Roles: a nouvelle cuisine portion size slice of Moose</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<pre><code> package Some::Role;

 use Role::Tiny;

 sub foo { ... }

 sub bar { ... }

 around baz =&gt; sub { ... };

 1;</code></pre>

<p>elsewhere</p>

<pre><code> package Some::Class;

 use Role::Tiny::With;

 # bar gets imported, but not foo
 with &#39;Some::Role&#39;;

 sub foo { ... }

 # baz is wrapped in the around modifier by Class::Method::Modifiers
 sub baz { ... }

 1;</code></pre>

<p>If you wanted attributes as well, look at <a href="https://metacpan.org/pod/Moo::Role">Moo::Role</a>.</p>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p><code>Role::Tiny</code> is a minimalist role composition tool.</p>

<h1 id="ROLE-COMPOSITION"><a id="ROLE"></a>ROLE COMPOSITION</h1>

<p>Role composition can be thought of as much more clever and meaningful multiple inheritance. The basics of this implementation of roles is:</p>

<ul>

<li><p>If a method is already defined on a class, that method will not be composed in from the role. A method inherited by a class gets overridden by the role&#39;s method of the same name, though.</p>

</li>
<li><p>If a method that the role <a href="./Role::Tiny.html#requires">&quot;requires&quot;</a> to be implemented is not implemented, role application will fail loudly.</p>

</li>
</ul>

<p>Unlike <a href="./Class::C3.html">Class::C3</a>, where the <b>last</b> class inherited from &quot;wins,&quot; role composition is the other way around, where the class wins. If multiple roles are applied in a single call (single with statement), then if any of their provided methods clash, an exception is raised unless the class provides a method since this conflict indicates a potential problem.</p>

<h2 id="ROLE-METHODS"><a id="ROLE1"></a>ROLE METHODS</h2>

<p>All subs created after importing Role::Tiny will be considered methods to be composed. For example:</p>

<pre><code>    package MyRole;
    use List::Util qw(min);
    sub mysub { }
    use Role::Tiny;
    use List::Util qw(max);
    sub mymethod { }</code></pre>

<p>In this role, <code>max</code> and <code>mymethod</code> will be included when composing MyRole, and <code>min</code> and <code>mysub</code> will not. For additional control, <a href="https://metacpan.org/pod/namespace::clean">namespace::clean</a> can be used to exclude undesired subs from roles.</p>

<h1 id="IMPORTED-SUBROUTINES"><a id="IMPORTED"></a>IMPORTED SUBROUTINES</h1>

<h2 id="requires">requires</h2>

<pre><code> requires qw(foo bar);</code></pre>

<p>Declares a list of methods that must be defined to compose role.</p>

<h2 id="with">with</h2>

<pre><code> with &#39;Some::Role1&#39;;

 with &#39;Some::Role1&#39;, &#39;Some::Role2&#39;;</code></pre>

<p>Composes another role into the current role (or class via <a href="https://metacpan.org/pod/Role::Tiny::With">Role::Tiny::With</a>).</p>

<p>If you have conflicts and want to resolve them in favour of Some::Role1 you can instead write:</p>

<pre><code> with &#39;Some::Role1&#39;;
 with &#39;Some::Role2&#39;;</code></pre>

<p>If you have conflicts and want to resolve different conflicts in favour of different roles, please refactor your codebase.</p>

<h2 id="before">before</h2>

<pre><code> before foo =&gt; sub { ... };</code></pre>

<p>See <a href="https://metacpan.org/pod/Class::Method::Modifiers#before-method(s)-=%3E-sub-%7B-...-%7D;">&quot;before method(s) =&gt; sub { ... };&quot; in Class::Method::Modifiers</a> for full documentation.</p>

<p>Note that since you are not required to use method modifiers, <a href="https://metacpan.org/pod/Class::Method::Modifiers">Class::Method::Modifiers</a> is lazily loaded and we do not declare it as a dependency. If your <a href="./Role::Tiny.html">Role::Tiny</a> role uses modifiers you must depend on both <a href="https://metacpan.org/pod/Class::Method::Modifiers">Class::Method::Modifiers</a> and <a href="./Role::Tiny.html">Role::Tiny</a>.</p>

<h2 id="around">around</h2>

<pre><code> around foo =&gt; sub { ... };</code></pre>

<p>See <a href="https://metacpan.org/pod/Class::Method::Modifiers#around-method(s)-=%3E-sub-%7B-...-%7D;">&quot;around method(s) =&gt; sub { ... };&quot; in Class::Method::Modifiers</a> for full documentation.</p>

<p>Note that since you are not required to use method modifiers, <a href="https://metacpan.org/pod/Class::Method::Modifiers">Class::Method::Modifiers</a> is lazily loaded and we do not declare it as a dependency. If your <a href="./Role::Tiny.html">Role::Tiny</a> role uses modifiers you must depend on both <a href="https://metacpan.org/pod/Class::Method::Modifiers">Class::Method::Modifiers</a> and <a href="./Role::Tiny.html">Role::Tiny</a>.</p>

<h2 id="after">after</h2>

<pre><code> after foo =&gt; sub { ... };</code></pre>

<p>See <a href="https://metacpan.org/pod/Class::Method::Modifiers#after-method(s)-=%3E-sub-%7B-...-%7D;">&quot;after method(s) =&gt; sub { ... };&quot; in Class::Method::Modifiers</a> for full documentation.</p>

<p>Note that since you are not required to use method modifiers, <a href="https://metacpan.org/pod/Class::Method::Modifiers">Class::Method::Modifiers</a> is lazily loaded and we do not declare it as a dependency. If your <a href="./Role::Tiny.html">Role::Tiny</a> role uses modifiers you must depend on both <a href="https://metacpan.org/pod/Class::Method::Modifiers">Class::Method::Modifiers</a> and <a href="./Role::Tiny.html">Role::Tiny</a>.</p>

<h2 id="Strict-and-Warnings"><a id="Strict"></a>Strict and Warnings</h2>

<p>In addition to importing subroutines, using <code>Role::Tiny</code> applies <a href="https://metacpan.org/pod/strict">strict</a> and <a href="https://metacpan.org/pod/warnings">warnings</a> to the caller.</p>

<h1 id="SUBROUTINES">SUBROUTINES</h1>

<h2 id="does_role">does_role</h2>

<pre><code> if (Role::Tiny::does_role($foo, &#39;Some::Role&#39;)) {
   ...
 }</code></pre>

<p>Returns true if class has been composed with role.</p>

<p>This subroutine is also installed as -&gt;does on any class a Role::Tiny is composed into unless that class already has an -&gt;does method, so</p>

<pre><code>  if ($foo-&gt;does(&#39;Some::Role&#39;)) {
    ...
  }</code></pre>

<p>will work for classes but to test a role, one must use ::does_role directly.</p>

<p>Additionally, Role::Tiny will override the standard Perl <code>DOES</code> method for your class. However, if <code>any</code> class in your class&#39; inheritance hierarchy provides <code>DOES</code>, then Role::Tiny will not override it.</p>

<h1 id="METHODS">METHODS</h1>

<h2 id="make_role">make_role</h2>

<pre><code> Role::Tiny-&gt;make_role(&#39;Some::Role&#39;);</code></pre>

<p>Makes a package into a role, but does not export any subs into it.</p>

<h2 id="apply_roles_to_package">apply_roles_to_package</h2>

<pre><code> Role::Tiny-&gt;apply_roles_to_package(
   &#39;Some::Package&#39;, &#39;Some::Role&#39;, &#39;Some::Other::Role&#39;
 );</code></pre>

<p>Composes role with package. See also <a href="https://metacpan.org/pod/Role::Tiny::With">Role::Tiny::With</a>.</p>

<h2 id="apply_roles_to_object">apply_roles_to_object</h2>

<pre><code> Role::Tiny-&gt;apply_roles_to_object($foo, qw(Some::Role1 Some::Role2));</code></pre>

<p>Composes roles in order into object directly. Object is reblessed into the resulting class. Note that the object&#39;s methods get overridden by the role&#39;s ones with the same names.</p>

<h2 id="create_class_with_roles">create_class_with_roles</h2>

<pre><code> Role::Tiny-&gt;create_class_with_roles(&#39;Some::Base&#39;, qw(Some::Role1 Some::Role2));</code></pre>

<p>Creates a new class based on base, with the roles composed into it in order. New class is returned.</p>

<h2 id="is_role">is_role</h2>

<pre><code> Role::Tiny-&gt;is_role(&#39;Some::Role1&#39;)</code></pre>

<p>Returns true if the given package is a role.</p>

<h1 id="CAVEATS">CAVEATS</h1>

<ul>

<li><p>On perl 5.8.8 and earlier, applying a role to an object won&#39;t apply any overloads from the role to other copies of the object.</p>

</li>
<li><p>On perl 5.16 and earlier, applying a role to a class won&#39;t apply any overloads from the role to any existing instances of the class.</p>

</li>
</ul>

<h1 id="SEE-ALSO"><a id="SEE"></a>SEE ALSO</h1>

<p><a href="./Role::Tiny.html">Role::Tiny</a> is the attribute-less subset of <a href="https://metacpan.org/pod/Moo::Role">Moo::Role</a>; <a href="https://metacpan.org/pod/Moo::Role">Moo::Role</a> is a meta-protocol-less subset of the king of role systems, <a href="https://metacpan.org/pod/Moose::Role">Moose::Role</a>.</p>

<p>Ovid&#39;s <a href="https://metacpan.org/pod/Role::Basic">Role::Basic</a> provides roles with a similar scope, but without method modifiers, and having some extra usage restrictions.</p>

<h1 id="AUTHOR">AUTHOR</h1>

<p>mst - Matt S. Trout (cpan:MSTROUT) &lt;mst@shadowcat.co.uk&gt;</p>

<h1 id="CONTRIBUTORS">CONTRIBUTORS</h1>

<p>dg - David Leadbeater (cpan:DGL) &lt;dgl@dgl.cx&gt;</p>

<p>frew - Arthur Axel &quot;fREW&quot; Schmidt (cpan:FREW) &lt;frioux@gmail.com&gt;</p>

<p>hobbs - Andrew Rodland (cpan:ARODLAND) &lt;arodland@cpan.org&gt;</p>

<p>jnap - John Napiorkowski (cpan:JJNAPIORK) &lt;jjn1056@yahoo.com&gt;</p>

<p>ribasushi - Peter Rabbitson (cpan:RIBASUSHI) &lt;ribasushi@cpan.org&gt;</p>

<p>chip - Chip Salzenberg (cpan:CHIPS) &lt;chip@pobox.com&gt;</p>

<p>ajgb - Alex J. G. Burzy&#x144;ski (cpan:AJGB) &lt;ajgb@cpan.org&gt;</p>

<p>doy - Jesse Luehrs (cpan:DOY) &lt;doy at tozt dot net&gt;</p>

<p>perigrin - Chris Prather (cpan:PERIGRIN) &lt;chris@prather.org&gt;</p>

<p>Mithaldu - Christian Walde (cpan:MITHALDU) &lt;walde.christian@googlemail.com&gt;</p>

<p>ilmari - Dagfinn Ilmari Manns&aring;ker (cpan:ILMARI) &lt;ilmari@ilmari.org&gt;</p>

<p>tobyink - Toby Inkster (cpan:TOBYINK) &lt;tobyink@cpan.org&gt;</p>

<p>haarg - Graham Knop (cpan:HAARG) &lt;haarg@haarg.org&gt;</p>

<h1 id="COPYRIGHT">COPYRIGHT</h1>

<p>Copyright (c) 2010-2012 the Role::Tiny <a href="./Role::Tiny.html#AUTHOR">&quot;AUTHOR&quot;</a> and <a href="./Role::Tiny.html#CONTRIBUTORS">&quot;CONTRIBUTORS&quot;</a> as listed above.</p>

<h1 id="LICENSE">LICENSE</h1>

<p>This library is free software and may be distributed under the same terms as perl itself.</p></div>

<div id="metacpan_install-instructions-dialog" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">Module Install Instructions</h4>
      </div>
      <div class="modal-body">
        <p>To install Role::Tiny, copy and paste the appropriate command in to your terminal.</p>
        <p><a href="https://metacpan.org/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p>
        <pre><code>cpanm Role::Tiny</code></pre>
        <p><a href="https://metacpan.org/pod/CPAN">CPAN shell</a></p>
        <pre><code>perl -MCPAN -e shell
install Role::Tiny</code></pre>
        <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p>
      </div>
      <div class="modal-footer">
        <a href="./Role::Tiny.html#" data-dismiss="modal" class="btn">Close</a>
      </div>
    </div>
  </div>
</div>
          </main>
          <div class="content-pagination">
          </div>
        </div>
        <footer class="footer">
          <div class="footer-container">
            <div class="footer-social">
              <div class="footer-link footer-logo">
                <a href="https://metacpan.org/">
                  <img src="https://metacpan.org/static/images/metacpan-logo.svg" alt="MetaCPAN" />
                </a>
              </div>
              <a class="footer-social-link" href="https://github.com/metacpan">
                <i class="fab fa-github-square"></i>
              </a>
              <a class="footer-social-link" href="https://fosstodon.org/@metacpan">
                <i class="fab fa-mastodon"></i>
              </a>
            </div>
            <div class="footer-links">
              <div class="footer-link">
                  <a href="https://metacpan.org/about">About</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/sponsors">Sponsor</a>
              </div>
              <div class="footer-link">
                  <a href="https://grep.metacpan.org">grep::cpan</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/recent">Recent</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/faq">FAQ</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/tools">Tools</a>
              </div>
              <div class="footer-link">
                  <a href="https://fastapi.metacpan.org/">API</a>
              </div>
              <div class="footer-link">
                  <a href="https://www.perl.org/">Perl.org</a>
              </div>
            </div>
            <div class="footer-sponsors">
              <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener">
                <img class="footer-sponsor-bytemark" src="https://metacpan.org/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener">
                <img class="footer-sponsor-liquidweb" src="https://metacpan.org/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener">
                <img class="footer-sponsor-deriv" src="https://metacpan.org/static/images/sponsors/deriv.svg" alt="Deriv logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener">
                <img class="footer-sponsor-geocode" src="https://metacpan.org/static/images/sponsors/geocodelogo.svg" alt="Geocode logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener">
                <img class="footer-sponsor-fastly" src="https://metacpan.org/static/images/sponsors/fastly_logo.svg" alt="Fastly logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener">
                <img class="footer-sponsor-opencage" src="https://metacpan.org/static/images/sponsors/open-cage.svg" alt="OpenCage logo">
              </a>
            </div>
          </div>
        </footer>
        <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Keyboard Shortcuts</h4>
              </div>
              <div class="modal-body row">
<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Global</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>s</kbd>
        </td>
        <td>Focus search bar</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>?</kbd>
        </td>
        <td>Bring up this help dialog</td>
      </tr>
    </tbody>
  </table>

  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>GitHub</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>p</kbd>
        </td>
        <td>Go to pull requests</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>go to github issues (only if github is preferred repository)</td>
      </tr>
    </tbody>
  </table>
</div>

<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>POD</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>a</kbd>
        </td>
        <td>Go to author</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>c</kbd>
        </td>
        <td>Go to changes</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>Go to issues</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>d</kbd>
        </td>
        <td>Go to dist</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>r</kbd>
        </td>
        <td>Go to repository/SCM</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>s</kbd>
        </td>
        <td>Go to source</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>b</kbd>
        </td>
        <td>Go to file browse</td>
      </tr>

    </tbody>
  </table>
</div>

<div class="col-md-12">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Search terms</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><em>module:</em> (e.g. <a href="https://metacpan.org/search?q=module%3APlugin">module:Plugin</a>)</td>
      </tr>
      <tr>
        <td><em>distribution:</em> (e.g. <a href="https://metacpan.org/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td>
      </tr>
      <tr>
        <td><em>author:</em> (e.g. <a href="https://metacpan.org/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td>
      </tr>
      <tr>
        <td><em>version:</em> (e.g. <a href="https://metacpan.org/search?q=version%3A1.00">version:1.00</a>)</td>
      </tr>
    </tbody>
  </table>
</div>
              </div>
              <div class="modal-footer"></div>
            </div>
          </div>
        </div>
    </body>
</html>
